<?php
/**
 * FecShop file.
 * @link http://www.fecshop.com/
 * @copyright Copyright (c) 2016 FecShop Software LLC
 * @license http://www.fecshop.com/license/
 */
# 本文件在app/web/index.php 处引入。
# 服务
$services = [];
foreach (glob(__DIR__ . '/services/*.php') as $filename){
	$services = array_merge($services,require($filename));
}

# 组件
$components = [];
foreach (glob(__DIR__ . '/components/*.php') as $filename){
	$components = array_merge($components,require($filename));
}
 
return [
    'components' 	=> $components,
	'services' 		=> $services,
	'params'		=> [	
	
	],
];
